package com.inspur.dgov.policy.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.inspur.dgov.policy.mapper.PolicyStatisticMapper;
import com.inspur.dgov.policy.service.PolicyStatisticService;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * 政策统计 服务实现类
 *
 * @Author chiyupei
 * @Date 20/6/9 下午4:12
 * @Version 1.0
 * @Description 政策统计 服务实现类
 */
@Slf4j
@Service
@AllArgsConstructor
public class PolicyStatisticServiceImpl extends ServiceImpl<PolicyStatisticMapper, Object> implements PolicyStatisticService {

    /**
     * 政策统计查询
     * @return
     */
    @Override
    public Map<String, Object> policyCount() {
        return baseMapper.policyCount();
    }
}
